package model

type Family struct {
	Id         int    `json:"id",gorm:"primary_key;AUTO_INCREMENT"`
	CreateTime string `json:"create_time"`
	ModifyTime string `json:"modify_time"`
	Status     int    `json:"status"`
	Deleted    int    `json:"deleted"`
	Relation   string `json:"relation"`
	Birthday   string `json:"birthday"`
	Gender     string `json:"gender"`
	Address    string `json:"address"`
	Job        string `json:"job"`
	Height     string `json:"height "`
	Weight     string `json:"weight"`
	TasteOne   int    `json:"taste_one"`
	Taste      string `json:"taste"`
	Smoke      int    `json:"smoke"`
	Wine       int    `json:"wine"`
	Sleep      int    `json:"sleep"`
	FamilyId   int    `json:"family_id"`
	Diseases   string `json:"diseases"`
}

func (Family) TableName() string {
	return "jk_family"
}
